extends layout

block content

  form(action='/b/register', method='post', role='form')
    legend register
    div.form-group
      label(for='') username
        input.form-control(type='text', name='username', id='', placeholder='Input...')
    div.form-group
      label(for='') password
        input.form-control(type='text', name='password', id='', placeholder='Input...')
    button.btn.btn-primary(type='submit') Submit

  form(action='/b/login', method='post', role='form')
    legend login
    div.form-group
      label(for='') username
        input.form-control(type='text', name='username', id='', placeholder='Input...')
    div.form-group
      label(for='') password
        input.form-control(type='text', name='password', id='', placeholder='Input...')
    button.btn.btn-primary(type='submit') Submit

  form(action='/b/logout', method='post', role='form')
    legend logout
    button.btn.btn-primary(type='submit') Submit

  form(action='/b/newnote', method='post', role='form')
    legend newnote
    div.form-group
      label(for='') title
        input.form-control(type='text', name='title', id='', placeholder='Input...')
    div.form-group
      label(for='') content
        input.form-control(type='text', name='content', id='', placeholder='Input...')
    button.btn.btn-primary(type='submit') Submit
  h1= title
  p Welcome to yx#{title}

